package com.roc.service.operator;

import java.util.List;

import com.roc.pojo.OperatorAuth;
import com.roc.pojo.Operators;
import com.roc.service.ServiceException;

public interface OperatorReceiveService {

	/**
	 * 保存领件信息
	 * @param op
	 * @param accountIdList
	 * @return
	 * @throws ServiceException
	 */
	public List<String> addReceiveInfo(Operators op,String accountIdList) throws ServiceException;
	
	/**
	 * 审核实名认证
	 * @param op
	 * @param accountIdList
	 * @return
	 * @throws ServiceException
	 */
	public String updateReceiveInfo(Operators op,Long receiveId,String status,String resultDetail) throws ServiceException;
	
	/**
	 * 根据领件ID得到实名认证信息
	 * @return
	 * @throws Exception
	 */
	public OperatorAuth queryOperatorAuthById(Operators op,Long receiveId,Long detailId) throws Exception;
	
	/**
	 * 云商宝会员解限操作
	 * @param op
	 * @param receiveId
	 * @param status
	 * @param resultDetail
	 * @return
	 */
	public String updateDetailForReleLimitInfo(Operators op, Long detailId, OperatorAuth operatorAuth) throws ServiceException;
	
	/**
	 * 云商宝会员解限黑名单校验
	 * 会员在黑名单则解限失败
	 * @param operatorAuth
	 * @return
	 */
	public boolean existBlackList(OperatorAuth operatorAuth) throws ServiceException;
	
	/**
	 * 修改用户实名认证信息
	 * @param operatorAuth
	 * @return
	 */
	public void updateIdCardDate(Operators op,OperatorAuth operatorAuth) throws ServiceException;
	
	/**
	 * 风控主管分配实名信息给风控专员审核
	 * @param operatorAuth
	 * @return
	 */
	public List<String> allotOperRece(Operators op,String accountIdList,Operators allotOp) throws ServiceException;
	
	/**
	 * 根据用户名查询用户信息
	 * @param accountNo
	 * @return
	 */
	public Operators queryByAccountNo(String accountNo);
	
}
